# 装饰器
def decorator(fn):
    def inner(num1, num2):
        print('正在计算中...请稍等')
        return fn(num1, num2)
    return inner

# 任意两个数相加
@decorator
def add(num1, num2):
    return num1 + num2

if __name__ == '__main__':
    print(add(2, 5))